(function($,jQuery){
	var req = gw.req(),convert=gw.convert,ob=gw.ob;

	var common={
		'_hostname':'.19lou.com',
		'_key':"19lou"
	};

	common['ckManage']=gw.ckManage([".19lou.com/",common._hostname+'/mywgu/']);
	var conig={};
	conig['cache']={
		'_default':{'passWord':'klzsklzs'},
		'_init':function(){
			req.open('POST', 'http://www.19lou.com/login', false); 
			req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
			req.send('refererUrl=aHR0cDovL3d3dy4xOWxvdS5jb20%3D&checked=0&userName={#userId}&userPass={#passWord}&cityInfo=&remember=1'.format(this));
			return this;
		},
		'_load':function(){
			['www','suzhou','taizhou','jiaxing','ningbo','shaoxing','huzhou','yuhang','tonglu','jiande','chunan','nanjing','hefei','taiyuan','yangzhou'
			,'wenzhou','jinhua','zhoushan','quzhou','lishui','xiaoshan','linan','fuyang','shijiazhuang','beijing','wuhan','guangzhou'
			].forEach(function(v){
				req.open('POST', 'http://'+v+'.19lou.com/user/checkin', false); 
				req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
				req.send(null);
			});
			return this;
		},
		'init':function(){
			this._addAry(['lesigui','locker2009','legu2009','gw2001','gw2002','gw2003','gw2004','gw2005','gw2006'])
				._toDB();
			console.log('init')
		}
	};
		
	$.net.panel.register(new $.net.cache($.extend({},common,conig['cache'])));
	for(var i in  $.net.panel.panel){
		$.net.panel.addPanel(i,$.net[i]._init($.extend({},common,conig[i])))
	}
	console.log(common._key+'OK')
})(___jQuery,___jQuery)

/*
'lottery':function(){
	this._every(function(){
		req.open('POST', 'suzhou.19lou.com/topic/2011/suzhoulottery/lottery.php', false); 
		req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
		req.send('t='+new Date().getTime());
		console.log(JSON.parse(req.responseText).data);
	})
	this._every(function(){
		req.open('POST', 'suzhou.19lou.com/topic/2011/suzhoulottery/lottery.php', false); 
		req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
		req.send('t='+new Date().getTime());
		console.log(JSON.parse(req.responseText).data);
	})
	this._every(function(){
		req.open('POST', 'suzhou.19lou.com/topic/2011/suzhoulottery/lottery.php', false); 
		req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
		req.send('t='+new Date().getTime());
		console.log(JSON.parse(req.responseText).data);
	})
},
'_getName':function(){
	return $(".user,#sub-login a:eq(0),.nav_info_id,.nav_user_login strong").text();
}*/